﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for SanPhamDTO
/// </summary>
/// 

public class SanPhamDTO
{
    #region "Attributes"
    private int _id;
    public int Id
    {
        get { return _id; }
        set { _id = value; }
    }

    private int _idLoaiSP;
    public int IdLoaiSP
    {
        get { return _idLoaiSP; }
        set { _idLoaiSP = value; }
    }

    private int _idNSX;
    public int IdNSX
    {
        get { return _idNSX; }
        set { _idNSX = value; }
    }

    private string _tenSanPham;
    public string TenSanPham
    {
        get { return _tenSanPham; }
        set { _tenSanPham = value; }
    }

    private string _moTa;
    public string MoTa
    {
        get { return _moTa; }
        set { _moTa = value; }
    }

    private long _gia;
    public long Gia
    {
        get { return _gia; }
        set { _gia = value; }
    }

    private int _idNhaPhanPhoi;
    public int IdNhaPhanPhoi
    {
        get { return _idNhaPhanPhoi; }
        set { _idNhaPhanPhoi = value; }
    }

    private int _diem;
    public int Diem
    {
        get { return _diem; }
        set { _diem = value; }
    }

    private int _soLuongTon;
    public int SoLuongTon
    {
        get { return _soLuongTon; }
        set { _soLuongTon = value; }
    }

    private DateTime _ngayThemSP;
    public System.DateTime NgayThemSP
    {
        get { return _ngayThemSP; }
        set { _ngayThemSP = value; }
    }

    private string _baoHanh;
    public string BaoHanh
    {
        get { return _baoHanh; }
        set { _baoHanh = value; }
    }

    private bool _xuatHienDauTien;
    public bool XuatHienDauTien
    {
        get { return _xuatHienDauTien; }
        set { _xuatHienDauTien = value; }
    }

    private string _hinhMinhHoa;

    public string HinhMinhHoa
    {
        get { return _hinhMinhHoa; }
        set { _hinhMinhHoa = value; }
    }

    #endregion

    public SanPhamDTO()
    {
        this._id = 0;
        this._idLoaiSP = 0;
        this._idNSX = 0;
        this._tenSanPham = "";
        this._moTa = "";
        this._gia = 0;
        this._idNhaPhanPhoi = 1;
        this._diem = 7;
        this._soLuongTon = 0;
        this._baoHanh = "";
        this._xuatHienDauTien = false;
    }
}
